<template>
  <div class="title-wrap">
   <div>{{hint}}</div>
    <div class="title">
      <img class="icon" src="@/assets/images/home/flow-icon.png" alt="">
      <span class="content">{{title}}</span>
      <img class="icon" src="@/assets/images/home/flow-icon.png" alt="">
    </div>
  </div>
</template>

<script>
export default {
  name: "home-title",
  props: {
    title: String,
    hint: String
  }
}
</script>

<style scoped lang="less">
.title-wrap {
  position: relative;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  color: #F7F7F7;
  font-size: 120px;
  font-weight: 700;
  line-height: 120px;
  .title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    .icon {
      display: block;
      width: 28px;
    }
    .content {
      display: block;
      margin: 0 16px;
      color: @t-hint-color;
      font-size: 32px;
      font-weight: 700;
    }
  }
}
</style>